    <ul class="list-group">
        <li class="list-group-item" style="background-color: transparent;border:0px;">
            <div class="btn-group dropup" style="width:100%">
                <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" style="width:80%">
                 校内链接&nbsp<span class="caret"></span>
                </button>
                <ul class="dropdown-menu">
                <?php for($i = 0;$i < count($this->campusLinks);$i++):?>
                    <li>
                        <a href="<?php echo CHtml::encode($this->campusLinks[$i]->url);?>">
                            <?php echo CHtml::encode($this->campusLinks[$i]->title);?>
                        </a>
                    </li>
                <?php endfor;?>
                </ul>
            </div>
        </li>
        <li class="list-group-item" style="background-color: transparent;border:0px;">
            <div class="btn-group dropup" style="width:100%">
                <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" style="width:80%">
                 友情链接&nbsp<span class="caret"></span>
                </button>
                <ul class="dropdown-menu">
                <?php for($i = 0;$i < count($this->externalLinks);$i++):?>
                    <li>
                        <a href="<?php echo CHtml::encode($this->externalLinks[$i]->url);?>">
                            <?php echo CHtml::encode($this->externalLinks[$i]->title);?>
                        </a>
                    </li>
                <?php endfor;?>
                </ul>
            </div>
        </li>
    </ul>
